<?
require("session_check.php");
require("../api/Check_MC.php");
	$is_check=check_rights("c07");
	if(!$is_check){
		echo 'no permission';
		exit;
	}
	//语言包引入
	$m_langpackage=new modulelp;
	
	//数据表定义区
	$t_users=$tablePreStr."users";

	//变量区
	$user_id = intval(get_argg('uid'));
    $value=intval(get_argg('value'));

	$dbo = new dbex;
	dbtarget('w',$dbServs);
	$sql="update $t_users set iweber_isSure=$value where user_id=$user_id";
	if($dbo->exeUpdate($sql)){
		
		echo "1";
	}else{
		echo "-1"; 
	}
?>
